.flex {
  display: flex;
  box-sizing: border-box;
}

.inline {
  display: inline-flex;
}

// Direction 样式
.direction-row {
  flex-direction: row;
}

.direction-column {
  flex-direction: column;
}

.direction-row-reverse {
  flex-direction: row-reverse;
}

.direction-column-reverse {
  flex-direction: column-reverse;
}

// Justify 样式
.justify-flex-start {
  justify-content: flex-start;
}

.justify-flex-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-space-between {
  justify-content: space-between;
}

.justify-space-around {
  justify-content: space-around;
}

.justify-space-evenly {
  justify-content: space-evenly;
}

// Align 样式
.align-flex-start {
  align-items: flex-start;
}

.align-flex-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.align-baseline {
  align-items: baseline;
}

.align-stretch {
  align-items: stretch;
}

// Wrap 样式
.wrap-nowrap {
  flex-wrap: nowrap;
}

.wrap-wrap {
  flex-wrap: wrap;
}

.wrap-wrap-reverse {
  flex-wrap: wrap-reverse;
}

// 响应式设计
@media (max-width: 576px) {
  .flex {
    &.direction-row {
      // 在小屏幕上，可能需要调整为垂直排列
      &.responsive {
        flex-direction: column;
      }
    }
  }
}
